package com.lanou3g.ptp.achievement.service;

import com.lanou3g.ptp.entity.Report;
import com.lanou3g.ptp.entity.ReportSponsor;
import com.lanou3g.ptp.vo.AlertBody;
import com.lanou3g.ptp.vo.ReportVO;

import java.util.List;

/**
 * 创建人: 武奇
 * 创建事件: 2019/8/29
 */
public interface ReportService {

    List<ReportVO> findByTaskAndStudent(Long taskId, Long studentId);

    Report findById(Long reportId);

    void excellentReport(Long id);

    boolean postReport(Report report);

    List<ReportSponsor> findReportsToPost(Long studentId);


    boolean putReport(Report report);

    boolean alertReport(AlertBody alert);

    boolean insertReportSponsor(Long taskId);

    List<ReportSponsor> findReportsToPostByTaskId(Long studentId, Long taskId);

    List<Report> findMyReportsByTaskId(Long studentId, Long taskId);
}
